import service from '/@/utils/request';

export const useIotCommandUpdateApi = (devCode: object, options: string,content: string) => {
    return service({
        url: `v0/iot/command/update`,
        method: 'PUT',
        data: { devCode: devCode, options: Number(options), content: content},
    });
}